import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:syn_4s/core/extension/build_context_extension.dart';
import 'package:syn_4s/ui/pages/base/base_screen.dart';
import 'package:syn_4s/ui/pages/setting/setting_content.dart';

import '../../../core/viewmodel/setting_view_model.dart';

class SettingScreen extends BaseScreen {
  static const String routeName = "/setting";

  const SettingScreen({super.key});

  @override
  String title(BuildContext context) {
    return context.l10n.setting;
  }

  @override
  Widget body(BuildContext context) {
    SettingViewModel vm = SettingViewModel();
    vm.init();
    Get.put(vm);
    return SettingContent();
  }
}
